home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
games
/
cga
/
batwar.arj
/
BATWAR4.BAS
< prev
next >
Wrap
BASIC Source File
|
1993-07-22
|
10KB
|
399 lines
DECLARE SUB credits ()
DECLARE SUB Town ()
DECLARE SUB mountain ()
DECLARE SUB SparklePause ()
DECLARE SUB Elliott ()
DECLARE SUB intro ()
intro
Elliott
PRINT " Now Elliott's troops are coming to get YOU,"; a$; "! What will you do?"
PRINT "Press 1 to run to the village"
PRINT "Press 2 to hide"
PRINT "Press 3 to attack them"
INPUT a
IF a = 3 THEN BEEP
IF a = 1 THEN 6000
IF a = 2 THEN 9000
9000 PRINT " You decide to hide. They seem to go right past you. It is "
PRINT "quiet. Soon you hear them again. Without thinking you get up and run."
PRINT "they catch you."
INPUT a
GOTO 90210
2001 PRINT " You don't stand a chance attacking them. You die instantly."
END
6000 PRINT " You run as fast as you can to the village. You trip and fall."
PRINT "Now what will you do?"
PRINT "Press 1 to attack them"
PRINT "Press 2 to run some more"
PRINT "Press 3 to stay put"
INPUT a
IF a = 1 THEN 2001
IF a = 2 THEN BEEP
IF a = 3 THEN 10000
PRINT " You run some more and trip again. This time you hit your head and"
PRINT "don't survive."
END
10000 PRINT " You decide to stay put. They don't seem to notice you. You see"
PRINT "nothing. You are to scarred to move. You start to hear the, come and you"
PRINT "SCAM. They catch you. "
PRINT " "
90210 PRINT " Elliott escaped magicly. Now he get's to shoot you, personally."
PRINT " He gives you a last request."
INPUT z$
IF z$ = "HOME" THEN 20000
IF z$ = "home" THEN 20000
IF z$ = "Home" THEN 20000
PRINT " You say "; z$; ". It doesn't seem to help any. Elliott shoots you with"
PRINT "pleasure. You die."
END
20000 PRINT " You wish you were home. That's it, HOME! You've done it now, "
PRINT a$; "! You say home. The jewel on your sword starts to sparkle. Before you"
PRINT "know it you are home. You are around the empty lot. It is the same day."
INPUT a
PRINT " You walk home. There is no proof that you have been anywhere. You"
PRINT "see no trace of the sword or jewel. "
PRINT " Seeing nothing to do you decide to head home."
PRINT " "
PRINT " At home you eat and then go to sleep. You can't seem to get to sleep."
PRINT "You keep wondering what had happened. You wonder and wonder. You can't "
PRINT "remember getting any sleep that night. You lay awake, listening to the"
PRINT "sounds of crickets. You think about Chuck, Laura, and John. What were"
PRINT "they? Were they real?"
INPUT a
PRINT " The next night you have a dream about Mt. Pokyu."
INPUT a
mountain
PRINT " You have dreams about Ogausis,"
PRINT " "
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT "Kinweke,"
PRINT "and Hojay."
PRINT "You see them "
PRINT "troubled. You don't see any signs of"
PRINT "evil,"
PRINT "but you know that something"
PRINT "is wrong. How will you get there?"
PRINT "How will"
PRINT "you "
PRINT "fix things this time?"
INPUT a
credits
PRINT " Battle Warrior is an AGSoft production"
PLAY "C D E"
PLAY "E C D"
PRINT " "
PRINT " Be sure to order Battle Warrior II"
PRINT ""
PRINT " It will be better than the first with: great sound FX"
PRINT " "
PRINT " and"
PRINT ""
PRINT " map control"
INPUT a
PRINT " To"
PRINT " Be"
PRINT " Continued"
Music$ = "MBT180o2P2P8L8GGGL2E-P24P8L8FFFL2D"
PLAY Music$
WHILE PLAY(0) > 5: WEND
SUB credits
SCREEN 12
CLS
PLAY "CDE"
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT " Main Writer"
PRINT " -----------------------------------------"
PRINT ""
PRINT " Alexander Golden"
PRINT " "
PRINT " "
PRINT " "
PRINT " "
SOUND 250, 25
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT " Testers:"
PRINT " --------"
PLAY "ABC"
PRINT " Richard"
PRINT ""
PRINT " &"
PRINT ""
PRINT " Alexander"
PRINT " "
PRINT " Golden"
PRINT ""
SOUND 300, 25
PRINT " "
PRINT ""
PRINT ""
PLAY "bed"
PRINT ""
PRINT ""
PRINT " Original Idea:"
PRINT " --------------"
PRINT " "
PRINT " Alexander Golden"
SOUND 350, 25
PLAY "EGC"
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PLAY "C"
PRINT ""
PRINT ""
PRINT ""
PRINT " And special thanks to:"
PRINT " ---------------------"
PRINT " "
PRINT " Charles Cole III"
PRINT ""
PRINT " Laura Cole"
PRINT ""
PRINT " Elliott Almanza"
PRINT ""
PRINT " ******** Richard Golden ***********"
PLAY "EEDEC"
PRINT " "
PRINT " Travis Caldaro"
PRINT ""
PRINT " and"
PRINT ""
SOUND 400, 25
PRINT " a scpecial acknogledment to"
PRINT ""
PRINT " Johnathan McClain"
PRINT ""
PRINT " for solving this puzzle"
INPUT a
PRINT ""
PRINT ""
PRINT " E A T"
PRINT " V E L"
PRINT " O R"
PRINT " "
PRINT " What is it?"
999 INPUT a$
IF a$ = "Elevator is out of order" THEN 19725
IF a$ = "The elevator is out of order" THEN 19725
IF a$ = "ELEVATOR IS OUT OF ORDER" THEN 19725
IF a$ = "Elevator out of order" THEN 19725
IF a$ = "ELEVATOR OUT OF ORDER" THEN 19725
IF a$ = "elevator out of order" THEN 19725
IF a$ = "the elevator is out of order" THEN 19725
IF a$ = "The Elevator Is Out Of Order" THEN 19725
IF a$ = "Elevator Out Of Order" THEN 19725
989 PRINT " Nope. Keep on trying. Anyway if you want to contnine"
PRINT "Battle Warrior's adventure in the land Hkrow then order it."
PRINT ""
PRINT " To Be Continued........"
INPUT a
GOTO 90000
19725 PRINT " You got it! Great! ."
INPUT a
90000 PRINT " Write to me and tell me how you like it (only if you DID like"
PRINT "it... WELL, I do need some CRITICISM. Tell me what you think. Write to DAVID GOLDEN)"
PRINT
PRINT "And now something for my STUPID brother who isn't smart enough to make"
PRINT "a good Qbasic game (not that any ordanary 12 year old should be able to"
PRINT "but he IS MY brother, and we all know how smart I am (yeah right))."
PRINT "RICHARD GOLDEN"
PLAY "aabbccddbbccaadd"
END SUB
SUB Elliott
PRINT " 'You can't destroy me, "; a$; "! I will live forever."
PRINT " Press 1 to attack"
PRINT " Press 2 to talk"
INPUT a
IF a = 1 THEN BEEP
IF a = 2 THEN 31415
PRINT " You attack Elliott. He counter attack and kills you."
END
31415 PRINT " What will you say."
INPUT x$
IF x$ = "Look behind you" THEN 12121
IF x$ = "look behind you" THEN 12121
IF x$ = "LOOK BEHIND YOU" THEN 12121
IF x$ = "Look Behind You" THEN 12121
PRINT " Before you can say anything Elliott kills you."
END
12121 PRINT " 'Look behind you!' you say. Elliott looks and you push him."
PRINT "He stumbles and falls off the mountain."
END SUB
SUB intro
1 CLS
2 SCREEN 12
10 PRINT " "
20 PRINT " AG Software Presents "
30 PRINT " "
40 PRINT " An Alexander Golden Program "
50 PRINT " "
60 PLAY "C D E"
70 PLAY "E C D"
80 PRINT " "
90 PRINT "**************************************************************"
100 PRINT " "
110 PRINT " Battle "
120 PRINT " "
130 PRINT " Warrior "
140 PRINT " "
PRINT " Press any key to continue"
SparklePause
150 PRINT " "
PRINT " "
PRINT " "
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
PRINT ""
151 PRINT "Enter your name, Warrior"
152 INPUT a$
END SUB
SUB mountain
CLS
SOUND 1000, 5
PLAY "A"
SOUND 1050, 5
PLAY "b"
SOUND 1100, 5
PLAY "c"
SOUND 200, 5
PLAY "c"
SOUND 2005, 5
SCREEN 1
LINE (237, 84)-(160, 77)
LINE (230, 84)-(160, 70)
LINE (223, 84)-(160, 63)
LINE (216, 84)-(160, 56)
LINE (209, 84)-(160, 49)
LINE (202, 84)-(160, 42)
LINE (195, 84)-(160, 35) 'Right half Mt. Pokyu
LINE (188, 84)-(160, 28)
LINE (181, 84)-(160, 21)
LINE (174, 84)-(160, 14)
LINE (167, 84)-(160, 7)
LINE (160, 84)-(160, 0)
LINE (76, 84)-(160, 77)
LINE (83, 84)-(160, 70)
LINE (90, 84)-(160, 63)
LINE (97, 84)-(160, 56)
LINE (104, 84)-(160, 49)
LINE (111, 84)-(160, 42) 'Left side of mountain
LINE (118, 84)-(160, 35)
LINE (125, 84)-(160, 28)
LINE (132, 84)-(160, 21)
LINE (139, 84)-(160, 14)
LINE (146, 84)-(160, 7)
LINE (153, 84)-(160, 0)
END SUB
SUB SparklePause
DEFINT A-Z
'SparklePause:
' Creates flashing border for intro screen
a$ = "* * * * * * * * * * * * * * * * * "
WHILE INKEY$ <> "": WEND 'Clear keyboard buffer
WHILE INKEY$ = ""
FOR a = 1 TO 5
LOCATE 1, 1 'print horizontal sparkles
PRINT MID$(a$, a, 80);
LOCATE 22, 1
PRINT MID$(a$, 6 - a, 80);
FOR b = 2 TO 21 'Print Vertical sparkles
c = (a + b) MOD 5
IF c = 1 THEN
PRINT "*";
LOCATE 23 - b, 1
PRINT "*";
ELSE
PRINT " ";
LOCATE 23 - b, 1
PRINT " ";
END IF
NEXT b
NEXT a
WEND
END SUB